package com.loanpcase;

import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.UnsupportedEncodingException;
import java.util.HashMap;
import java.util.Map;


import com.sun.media.jfxmedia.track.Track;
import org.apache.commons.codec.binary.Base64;

import com.util.HttpSend;
import com.alibaba.fastjson.JSONObject;

public class RLDJ0002 extends LPCase{


	@Override
	protected String getRequestUrl() {
		return "/RLMS/RLDJ0002";
	}

	protected Map<String,Object> getRequestData(){
		HashMap<String,Object> REQUESTDATA = new HashMap<String, Object>();
		REQUESTDATA.put("DOCKING_ORGNO","00033");
		REQUESTDATA.put("COOPER_CODE","90001");
		REQUESTDATA.put("APPLY_NO","AL153663562783300000000000000000");
		/*REQUESTDATA.put("START_DATE","20180520");
		REQUESTDATA.put("END_DATE","20180728");
		REQUESTDATA.put("BANK_NO","03206");
		REQUESTDATA.put("PROJECT_NO","ABL00007");

		REQUESTDATA.put("PRD_CODE","PLAA");*/
		REQUESTDATA.put("PAGE","1");
		return REQUESTDATA;
		
	}

	static public void main(String[] args){
		for(int i=0;i<10;i++)
		new RLDJ0002().run("http://22.145.26.213:11008/loanproxy");
		new RLDJ0002().run("http://22.145.26.213:11008/loanproxy");
		/*long s = System.currentTimeMillis();
		for(int i=0;i<100;i++)new RLDJ0002().run(TEST_URL);
		System.out.println(System.currentTimeMillis()-s);*/
		/*try {
			System.out.println(new String("以园栋".getBytes("GBK"),"gb2312"));
		} catch (UnsupportedEncodingException e) {
			e.printStackTrace();
		}*/
	}

}
